package com.shangxia.feign.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author zhouya38158
 * @Package com.shangxia.order.po
 * @date 2021/11/2 14:32
 */
@Data
@TableName("SX_ORDER")
@ApiModel
public class SX_Order implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 5474941549372359218L;
    @ApiModelProperty("主键id")
    private Long id;
    @ApiModelProperty("name")
    private String name;
    private Date createDt;
    private Date updateDt;
    @ApiModelProperty("userId")
    private Long userId;
    @TableField(exist = false)
    @ApiModelProperty("user")
    private SX_User user;
    @TableField(exist = false)
    @ApiModelProperty("productList")
    private List<SX_Product> productList;
}
